<{{ tag_name }} {% for k, v in attributes.iteritems() -%}
    {{ ' ' }}{{ k }}={{ "'" }}{{ v }}{{ "'" }}
{%- endfor -%}
{%- if content == None -%}
    /
{%- endif -%}
>
{%- if content != None -%}
    {{ content }}</{{ tag_name }}>
{%- endif -%}
